import moviePack.MovieLister;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		ApplicationContext ctx = new FileSystemXmlApplicationContext("config.xml");
		MovieLister lister = (MovieLister)ctx.getBean("myMovieLister");
		lister.moviesDirectedBy("Quentin Tarantino");

	}
}
